package com.vehicle.service;

import com.vehicle.bean.ParkingLot;
import com.baomidou.mybatisplus.extension.service.IService;
import com.vehicle.vo.ListParkingVO;
import com.vehicle.vo.ParkingVO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 校园车辆管理系统
 * @since 2023-04-21
 */
@Service
public interface ParkingLotService extends IService<ParkingLot> {

    public ListParkingVO getAllParkingList(Integer page, Integer size);

    public String getParkingLocation(Integer parkingId);

    //根据区域关键字进行查询
    public List<ParkingVO> getParkingByContent(String content);

    //修改车位状态
    public Boolean updateParkingState(String ip,Integer id,Integer parkingId,Integer state);



}
